package com.flyco.modules.stm.service;

import com.flyco.common.api.vo.Result;
import com.flyco.modules.stm.entity.OaPushDTO;
import com.flyco.modules.stm.entity.StmRetreat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.flyco.modules.stm.model.RetreatContext;

import java.util.List;

/**
 * @Description: 业务和出入库关联表
 * @Author: flyco
 * @Date:   2022-11-29
 * @Version: V1.0
 */
public interface IStmRetreatService extends IService<StmRetreat> {
    Result<?> apply(Integer status, List<Long> ids);

    Result<RetreatContext> pushOABefore(OaPushDTO oaPushDTO, String userName);

}
